home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / cracking / BeginnersMacAssembly.sit.hqx / BeginnersMacAssembly.rsrc / PICT_27.png < prev    next >
Portable Network Graphic  |  1997-07-26  |  124KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | door | poster | reckoner | sky | windowpane
OCR: Sat Feb 17 1996 Beginners Guide Macintosh Assembly Language Programming age You may be asking How on earth can fred be a memory Labels see the next section. Program layout and structure. Now that We ve covered three instructions, its time to examine how assembly language progra ams are laid out and how they are written. All the mnemonics (instruction names) that go to make up a program as a whole are called source code Source code 15 written using an editor - any editor will do so long as it will handle tabs, and not try to format the text into paragraphs Examine the following program. ******************************* *FIL ENAME: :EXAMPLEL.S *DESCRIPTION: PROGRAM TO ADD 3 NUMBERS TOGETHER AND PRINTTHE RESULT ON THE SCREEN * * * * * * * ADD NUMBS BSR INIT CURSOR *part of 10 lib.s MOVE.L #10, ...